package com.angel.bo.file.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author: Haibo.Mei [Haibo.Mei@ge.com]
 * @Description:
 * @Date: 13:26 2018/2/28 
 */
@Data
@Component
public class AngelFileProperties {

    /**
     * 这个必须与前端设定的值一致
     */
    @Value("${breakpoint.upload.chunkSize}")
    private long chunkSize;

    @Value("${breakpoint.upload.dir}")
    private String finalDirPath;
}
